@echo off

echo "begin sync file to remote server ..."

tar -zcvf ../blog.tar.gz ../blog
scp -rp ../blog.tar.gz root@1.117.74.177:/root
rm -rf ../blog.tar.gz

echo "end sync file"


@echo on